package com.wisezone.workflow.bean.form;

import java.util.Date;

import com.wisezone.common.bean.form.BaseForm;
import com.wisezone.workflow.bean.WfActivityInstance;
import com.wisezone.workflow.bean.WfDataDictionary;
import com.wisezone.workflow.bean.WfProcessDefinition;

/**
 * 流程实例对象
 * 
 * @author tss 2009-09-05
 * 
 */
public class WfProcessInstanceForm extends BaseForm {

	/**
	 * ID
	 */
	private Long id;

	/**
	 * 流程模版
	 */
	private WfProcessDefinition processDef;

	/**
	 *创建时间
	 */
	private Date createTime;

	/**
	 * 开始时间
	 */
	private Date startTime;

	/**
	 * 结束时间
	 */
	private Date endTime;

	/**
	 * 状态
	 */
	private WfDataDictionary state;

	/**
	 * 发起人Id
	 */
	private Long starter;

	/**
	 * 发起人名称
	 */
	private Long starterName;

	/**
	 * 流程实例名称
	 */
	private String name;

	/**
	 * 备注
	 */
	private String memo;

	/**
	 * 当前任务实例
	 */
	private WfActivityInstance currActivityInst;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public WfProcessDefinition getProcessDef() {
		return processDef;
	}

	public void setProcessDef(WfProcessDefinition processDef) {
		this.processDef = processDef;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public WfDataDictionary getState() {
		return state;
	}

	public void setState(WfDataDictionary state) {
		this.state = state;
	}

	public Long getStarter() {
		return starter;
	}

	public void setStarter(Long starter) {
		this.starter = starter;
	}

	public Long getStarterName() {
		return starterName;
	}

	public void setStarterName(Long starterName) {
		this.starterName = starterName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public WfActivityInstance getCurrActivityInst() {
		return currActivityInst;
	}

	public void setCurrActivityInst(WfActivityInstance currActivityInst) {
		this.currActivityInst = currActivityInst;
	}

}